package org.example.jwt.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.example.jwt.util.StringUtil;

@TableName("'user'")
@Data
public class User {
    private String id;
    private String username;
    private String password;

    public void setPassword(String password) {
        this.password = StringUtil.encryptMD5(password);
    }
}
